﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Unit2session1.aspx.vb" Inherits="gdrwebapp1.Unit2session1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <p>
    <br />
</p>
<p>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ID" DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="Hotel_Name" HeaderText="Hotel_Name" SortExpression="Hotel_Name" />
            <asp:BoundField DataField="Hotel_Description" HeaderText="Hotel_Description" SortExpression="Hotel_Description" />
            <asp:BoundField DataField="Hotel_Location" HeaderText="Hotel_Location" SortExpression="Hotel_Location" />
            <asp:BoundField DataField="Hotel_Details" HeaderText="Hotel_Details" SortExpression="Hotel_Details" />
            <asp:ImageField DataImageUrlField="Hotel_Link">
            </asp:ImageField>
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString3 %>" ProviderName="<%$ ConnectionStrings:ConnectionString3.ProviderName %>" SelectCommand="SELECT [ID], [Hotel Name] AS Hotel_Name, [Hotel Description] AS Hotel_Description, [Hotel Location] AS Hotel_Location, [Hotel Details] AS Hotel_Details, [Hotel Link] AS Hotel_Link, [Hotel Image] AS Hotel_Image FROM [tbl1]"></asp:SqlDataSource>
</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
</asp:Content>
